#pragma once

#include "MessageEvent.h"


namespace uml {

MessageEvent::MessageEvent(const QString& umlType)
    : Event(umlType) {}

void MessageEvent::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    Event::fromJson(json, errorList);
}

void MessageEvent::toJson(QJsonObject& json) {
    Event::toJson(json);
}

} // namespace uml
